package jehc.cloud.gen.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 代码生成器
 * @author邓纯杰
 *
 */
@Controller
@Api(value = "登录API",description = "登录API")
public class LoginController {
    /**
     * 登录页面
     * @param model
     * @return
     */
    @ApiOperation(value="登录页面", notes="登录页面")
    @RequestMapping(value="/login.html")
    public String login(Model model) {
        return "login";
    }

}
